import urllib
import calendar
import time
import shutil
import os
import stat

print '1111'
sock = urllib.urlopen("http://lava.nationalgeographic.com/pod/index.html")
htmlSource = sock.read()
sock.close()
print '222'
#print htmlSource

pos1 = htmlSource.find('sm_wallpaper')
pos2 = htmlSource.find('/pod/pictures/normal')
print pos1
print pos2
print htmlSource[pos1+13:pos2-12]
